package com.jetgege.resumepoint;

/**
 * Created by JJT-ssd on 2017/4/20.
 */

public class DownloadInfo {
    //获取进度失败
    public static final long TOTAL_ERROR=-1;

    private String url;
    private long total;//文件大总大小
    private long progress;//当前下载进度
    private String fileName;

    public DownloadInfo(String url){
        this.url=url;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public long getProgress() {

        return progress;
    }

    public void setProgress(long progress) {
        this.progress = progress;
    }

    public long getTotal() {

        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
